<template>
    <div class="wid_100 hei_100 loginPage">
        <div class="view">

            <div class="exhibition">
                
                <svg height="1024" node-id="1" sillyvg="true" template-height="1024" template-width="1024" version="1.1"
                    viewBox="0 0 1024 1024" width="1024" xmlns="http://www.w3.org/2000/svg"
                    xmlns:xlink="http://www.w3.org/1999/xlink">
                    <defs node-id="30"></defs>
                    <path
                        d="M 743.10 766.20 L 739.60 762.90 L 736.40 759.20 L 733.60 755.20 L 731.20 750.90 L 729.30 746.50 L 727.90 741.80 L 727.00 737.10 L 726.70 732.30 L 727.00 727.40 L 727.90 722.60 L 729.50 718.00 L 731.60 713.60 L 734.30 709.50 L 737.50 705.90 L 741.10 702.70 L 747.20 698.90 L 750.50 697.50 L 754.00 696.50 L 757.60 696.00 L 761.20 695.90 L 764.80 696.30 L 768.40 697.00 L 771.80 698.20 L 775.10 699.80 L 778.20 701.70 L 781.00 704.00 L 783.50 706.50 L 785.70 709.40 L 787.50 712.50 L 788.80 715.90 L 790.80 695.70 L 792.20 685.60 L 795.50 669.00 L 799.50 656.20 L 802.00 650.00 L 804.90 644.00 L 808.20 638.20 L 811.60 633.10 L 815.40 628.40 L 819.50 623.90 L 824.00 619.70 L 828.70 615.80 L 833.70 612.30 L 838.90 609.20 L 844.40 606.50 L 850.10 604.20 L 855.80 602.30 L 861.70 600.90 L 867.80 600.00 L 873.90 599.60 L 880.00 599.70 L 886.10 600.30 L 892.10 601.40 L 898.00 603.00 L 903.70 605.10 L 909.30 607.60 L 914.60 610.50 L 919.60 613.90 L 924.30 617.70 L 928.70 621.90 L 932.70 626.50 L 936.20 631.50 L 939.30 636.70 L 941.80 642.20 L 943.90 648.00 L 945.40 653.90 L 946.40 659.90 L 946.90 666.00 L 946.80 672.10 L 946.20 678.10 L 945.00 684.10 L 943.30 689.90 L 940.90 695.50 L 938.10 700.80 L 934.80 705.70 L 931.10 710.40 L 927.10 714.80 L 918.20 722.90 L 911.10 728.50 L 903.60 733.60 L 893.70 739.70 L 883.60 745.20 L 873.30 750.20 L 862.80 754.70 L 852.10 758.70 L 841.20 762.20 L 830.20 765.20 L 819.00 767.60 L 807.80 769.50 L 796.40 770.90 L 785.00 771.70 L 773.60 772.00 L 762.20 771.80 L 750.70 771.00 L 739.10 769.60 L 743.10 766.20 Z"
                        fill="#f2f2f2" fill-rule="nonzero" node-id="32" stroke="none" target-height="172.40002"
                        target-width="220.20001" target-x="726.7" target-y="599.6" />
                    <path
                        d="M 908.70 608.00 L 898.80 616.30 L 889.20 624.90 L 880.00 633.90 L 871.00 643.10 L 862.30 652.60 L 853.90 662.40 L 844.50 674.20 L 835.50 686.30 L 827.10 698.80 L 819.10 711.60 L 811.60 724.70 L 804.60 738.00 L 798.10 751.70 L 792.10 765.60 L 791.90 766.50 L 792.50 767.70 L 793.50 768.20 L 794.60 768.30 L 795.70 767.90 L 796.50 766.80 L 801.70 754.70 L 807.30 742.90 L 813.20 731.30 L 819.50 719.90 L 826.20 708.70 L 833.20 697.70 L 840.60 687.00 L 848.40 676.60 L 856.50 666.40 L 864.90 656.50 L 873.70 646.80 L 882.70 637.50 L 892.10 628.40 L 901.80 619.70 L 911.90 611.20 L 912.70 609.80 L 912.00 608.30 L 911.10 607.60 L 909.90 607.50 L 908.70 608.00 Z"
                        fill="#ffffff" fill-rule="nonzero" node-id="34" stroke="none" target-height="160.79999"
                        target-width="120.79999" target-x="791.9" target-y="607.5" />
                    <path
                        d="M 357.10 763.60 L 360.80 760.20 L 367.30 752.70 L 372.70 744.10 L 376.60 735.00 L 378.00 730.20 L 379.00 725.30 L 379.60 720.40 L 379.70 715.40 L 379.30 710.40 L 378.40 705.50 L 377.10 700.70 L 375.20 696.00 L 373.00 691.50 L 370.30 687.30 L 367.20 683.30 L 363.70 679.70 L 360.00 676.40 L 355.90 673.60 L 351.60 671.20 L 347.00 669.30 L 342.20 668.00 L 337.20 667.30 L 332.30 667.20 L 327.30 667.70 L 322.40 668.80 L 317.70 670.40 L 313.20 672.60 L 308.90 675.20 L 305.10 678.30 L 301.60 681.80 L 299.30 684.70 L 295.70 691.10 L 294.40 694.60 L 291.60 666.80 L 289.70 652.90 L 287.20 639.20 L 285.10 630.20 L 282.70 621.30 L 279.80 612.60 L 276.40 604.10 L 272.40 595.90 L 267.80 587.90 L 263.10 581.00 L 257.90 574.40 L 252.20 568.20 L 246.10 562.50 L 239.60 557.20 L 232.70 552.40 L 225.50 548.10 L 218.10 544.40 L 210.30 541.20 L 198.30 537.60 L 186.00 535.50 L 179.70 535.00 L 167.20 535.30 L 160.90 536.00 L 148.60 538.50 L 136.70 542.50 L 130.90 545.00 L 120.00 551.10 L 114.80 554.60 L 109.90 558.50 L 105.20 562.60 L 100.90 567.10 L 96.80 571.90 L 93.10 577.00 L 89.70 582.30 L 86.80 587.80 L 84.20 593.50 L 82.00 599.50 L 80.20 605.50 L 78.90 611.60 L 77.90 617.80 L 77.30 624.10 L 77.20 630.30 L 77.50 636.50 L 78.20 642.80 L 79.30 648.90 L 80.90 654.90 L 83.00 660.80 L 85.50 666.60 L 91.60 677.20 L 98.90 687.00 L 104.40 693.10 L 110.30 698.80 L 116.60 704.30 L 123.10 709.40 L 136.70 718.90 L 146.70 725.20 L 157.00 731.00 L 167.40 736.50 L 178.00 741.60 L 188.90 746.40 L 199.90 750.70 L 211.00 754.60 L 222.30 758.20 L 233.60 761.30 L 245.20 764.00 L 256.80 766.40 L 268.40 768.30 L 280.10 769.80 L 291.90 770.80 L 303.70 771.50 L 315.50 771.70 L 327.30 771.50 L 339.10 770.90 L 350.80 769.80 L 362.60 768.30"
                        fill="#f2f2f2" fill-rule="nonzero" node-id="36" stroke="none" target-height="236.70001"
                        target-width="302.5" target-x="77.2" target-y="535" />
                    <path
                        d="M 129.60 546.40 L 143.20 557.80 L 156.30 569.70 L 169.10 581.90 L 181.40 594.60 L 193.40 607.70 L 204.90 621.20 L 216.00 635.00 L 226.60 649.20 L 236.70 663.70 L 246.40 678.50 L 255.60 693.60 L 264.30 709.10 L 271.20 722.30 L 277.80 735.70 L 283.90 749.20 L 289.70 762.90 L 289.90 764.20 L 289.60 765.20 L 288.90 766.00 L 286.60 766.70 L 285.40 766.40 L 284.40 765.80 L 283.60 764.60 L 276.70 748.50 L 269.30 732.70 L 261.40 717.00 L 252.90 701.70 L 244.00 686.70 L 234.60 671.90 L 224.80 657.50 L 214.50 643.50 L 203.70 629.70 L 192.60 616.40 L 180.90 603.30 L 168.90 590.70 L 158.40 580.30 L 147.60 570.20 L 136.50 560.40 L 125.10 550.90 L 124.30 549.80 L 124.10 548.70 L 124.30 547.70 L 125.00 546.70 L 127.20 545.60 L 128.40 545.70 L 129.60 546.40 Z"
                        fill="#ffffff" fill-rule="nonzero" node-id="38" stroke="none" target-height="221.10004"
                        target-width="165.79999" target-x="124.1" target-y="545.6" />
                    <path
                        d="M 701.50 770.90 L 336.50 770.90 L 336.50 396.40 L 336.70 388.40 L 337.40 380.60 L 338.40 372.90 L 339.80 365.40 L 341.70 358.00 L 344.50 348.90 L 347.90 340.20 L 351.80 331.70 L 356.30 323.50 L 361.20 315.60 L 366.60 308.10 L 372.50 301.00 L 378.90 294.30 L 385.60 287.90 L 392.70 282.00 L 400.20 276.60 L 408.10 271.70 L 416.30 267.20 L 424.80 263.30 L 433.50 259.90 L 442.60 257.10 L 450.00 255.20 L 457.50 253.80 L 465.20 252.80 L 473.00 252.10 L 481.00 251.90 L 557.00 251.90 L 565.00 252.10 L 572.80 252.80 L 580.50 253.80 L 588.00 255.20 L 595.40 257.10 L 604.50 259.90 L 613.20 263.30 L 621.70 267.20 L 629.90 271.70 L 637.80 276.60 L 645.30 282.00 L 652.40 287.90 L 659.10 294.30 L 665.50 301.00 L 671.40 308.10 L 676.80 315.60 L 681.70 323.50 L 686.20 331.70 L 690.10 340.20 L 693.50 348.90 L 696.30 358.00 L 698.20 365.40 L 699.60 372.90 L 700.60 380.60 L 701.30 388.40 L 701.50 396.40 L 701.50 770.90 Z"
                        fill="#f2f2f2" fill-rule="nonzero" node-id="40" stroke="none" target-height="519"
                        target-width="365" target-x="336.5" target-y="251.9" />
                    <path
                        d="M 625.50 770.90 L 336.50 770.90 L 336.50 396.40 L 336.70 388.80 L 337.30 381.20 L 338.20 373.70 L 341.40 359.00 L 346.00 344.60 L 348.90 337.70 L 352.20 330.90 L 355.80 324.20 L 359.80 317.80 L 366.10 308.80 L 375.30 297.90 L 385.60 287.90 L 391.20 283.20 L 398.90 277.50 L 406.40 272.60 L 414.10 268.30 L 422.10 264.40 L 432.40 260.30 L 440.00 257.80 L 447.80 255.70 L 455.60 254.10 L 465.50 252.80 L 473.30 252.20 L 481.00 252.00 L 488.80 252.20 L 496.60 252.80 L 506.50 254.20 L 514.30 255.80 L 522.10 257.80 L 529.70 260.30 L 539.80 264.30 L 547.70 268.20 L 555.40 272.40 L 562.80 277.20 L 571.20 283.50 L 577.30 288.70 L 587.70 298.90 L 595.90 308.80 L 602.20 317.80 L 606.20 324.30 L 613.10 337.70 L 616.00 344.70 L 620.60 359.00 L 623.80 373.70 L 624.70 381.20 L 625.30 388.80 L 625.50 396.40 L 625.50 770.90 Z"
                        fill="#ffffff" fill-rule="nonzero" node-id="42" stroke="none" target-height="518.9"
                        target-width="289" target-x="336.5" target-y="252" />
                    <path
                        d="M 618.00 587.40 L 617.70 590.30 L 617.00 593.00 L 615.80 595.50 L 614.20 597.70 L 612.30 599.60 L 610.10 601.20 L 607.60 602.40 L 604.90 603.10 L 602.00 603.40 L 599.10 603.10 L 596.40 602.40 L 593.90 601.20 L 591.70 599.60 L 589.80 597.70 L 588.20 595.50 L 587.00 593.00 L 586.30 590.30 L 586.00 587.40 L 586.30 584.50 L 587.00 581.80 L 588.20 579.30 L 589.80 577.10 L 591.70 575.20 L 593.90 573.60 L 596.40 572.40 L 599.10 571.70 L 602.00 571.40 L 604.90 571.70 L 607.60 572.40 L 610.10 573.60 L 612.30 575.20 L 614.20 577.10 L 615.80 579.30 L 617.00 581.80 L 617.70 584.50 L 618.00 587.40 Z"
                        fill="#202328" fill-rule="nonzero" node-id="44" stroke="none" target-height="32"
                        target-width="32" target-x="586" target-y="571.4" />
                    <path d="M 671.60 759.70 L 659.30 759.70 L 653.50 712.40 L 671.60 712.40 Z" fill="#ffb8b8"
                        fill-rule="nonzero" node-id="46" stroke="none" target-height="47.299988"
                        target-width="18.099976" target-x="653.5" target-y="712.4" />
                    <path
                        d="M 650.60 756.20 L 674.20 756.20 L 674.20 771.10 L 635.70 771.10 L 636.00 768.40 L 636.60 765.90 L 637.70 763.60 L 639.20 761.50 L 641.00 759.70 L 643.10 758.20 L 645.40 757.10 L 647.90 756.50 L 650.60 756.20 Z"
                        fill="#2f2e41" fill-rule="nonzero" node-id="48" stroke="none" target-height="14.899963"
                        target-width="38.5" target-x="635.7" target-y="756.2" />
                    <path d="M 732.60 759.70 L 720.30 759.70 L 714.50 712.40 L 732.60 712.40 Z" fill="#ffb8b8"
                        fill-rule="nonzero" node-id="50" stroke="none" target-height="47.299988"
                        target-width="18.099976" target-x="714.5" target-y="712.4" />
                    <path
                        d="M 711.60 756.20 L 735.20 756.20 L 735.20 771.10 L 696.70 771.10 L 697.00 768.40 L 697.60 765.90 L 698.70 763.60 L 700.20 761.50 L 702.00 759.70 L 704.10 758.20 L 706.40 757.10 L 708.90 756.50 L 711.60 756.20 Z"
                        fill="#2f2e41" fill-rule="nonzero" node-id="52" stroke="none" target-height="14.899963"
                        target-width="38.5" target-x="696.7" target-y="756.2" />
                    <path
                        d="M 610.10 590.60 L 608.60 587.10 L 608.30 585.30 L 608.60 581.70 L 610.20 578.40 L 611.50 576.90 L 614.70 574.80 L 656.40 459.90 L 676.90 471.10 L 629.30 580.90 L 630.00 584.70 L 629.80 586.50 L 628.60 590.00 L 626.20 592.80 L 624.70 593.90 L 622.90 594.80 L 620.40 595.40 L 618.10 595.40 L 615.80 594.90 L 613.60 593.90 L 611.70 592.50 L 610.10 590.60 Z"
                        fill="#ffb8b8" fill-rule="nonzero" node-id="54" stroke="none" target-height="135.50003"
                        target-width="68.60004" target-x="608.3" target-y="459.9" />
                    <path
                        d="M 726.30 612.20 L 723.40 609.70 L 722.40 608.20 L 721.10 604.80 L 721.00 601.10 L 721.50 599.30 L 723.40 595.90 L 710.50 474.40 L 733.80 475.50 L 739.20 595.00 L 741.50 598.10 L 742.10 599.80 L 742.50 603.50 L 741.70 607.10 L 740.80 608.70 L 739.50 610.30 L 737.60 611.90 L 735.50 612.90 L 733.30 613.50 L 730.90 613.60 L 728.60 613.20 L 726.30 612.20 Z"
                        fill="#ffb8b8" fill-rule="nonzero" node-id="56" stroke="none" target-height="139.19998"
                        target-width="32" target-x="710.5" target-y="474.4" />
                    <path
                        d="M 713.70 414.10 L 713.50 417.50 L 712.80 420.70 L 711.80 423.70 L 710.30 426.50 L 708.60 429.10 L 706.50 431.50 L 704.10 433.60 L 701.50 435.30 L 698.70 436.80 L 695.70 437.80 L 692.50 438.50 L 689.10 438.70 L 685.70 438.50 L 682.50 437.80 L 679.50 436.80 L 674.10 433.60 L 671.70 431.50 L 669.60 429.10 L 667.90 426.50 L 666.40 423.70 L 665.40 420.70 L 664.70 417.50 L 664.50 414.10 L 664.70 410.70 L 665.40 407.50 L 666.40 404.50 L 667.90 401.70 L 669.60 399.10 L 671.70 396.70 L 674.10 394.60 L 676.70 392.90 L 679.50 391.40 L 682.50 390.40 L 685.70 389.70 L 689.10 389.50 L 692.50 389.70 L 695.70 390.40 L 698.70 391.40 L 701.50 392.90 L 704.10 394.60 L 706.50 396.70 L 708.60 399.10 L 710.30 401.70 L 711.80 404.50 L 712.80 407.50 L 713.50 410.70 L 713.70 414.10 Z"
                        fill="#ffb8b8" fill-rule="nonzero" node-id="58" stroke="none" target-height="49.200012"
                        target-width="49.200012" target-x="664.5" target-y="389.5" />
                    <path
                        d="M 726.20 584.50 L 652.20 584.50 L 656.00 554.70 L 657.70 536.90 L 659.00 517.80 L 659.30 508.20 L 659.10 490.20 L 658.50 482.40 L 656.90 473.10 L 655.40 467.60 L 655.40 463.80 L 656.50 460.20 L 658.80 457.10 L 662.00 454.90 L 666.40 453.00 L 671.70 451.10 L 677.30 449.40 L 683.50 448.20 L 692.20 447.60 L 696.80 447.80 L 701.40 448.40 L 706.00 449.60 L 710.80 451.20 L 715.30 453.40 L 719.90 456.20 L 724.50 459.80 L 726.90 462.20 L 730.60 467.40 L 733.10 473.40 L 733.70 476.60 L 734.00 483.20 L 726.20 584.50 Z"
                        fill="#202328" fill-rule="nonzero" node-id="60" stroke="none" target-height="136.9"
                        target-width="81.79999" target-x="652.2" target-y="447.6" />
                    <path
                        d="M 666.40 510.20 L 633.10 503.40 L 649.60 464.00 L 650.80 461.90 L 652.30 460.00 L 654.20 458.50 L 656.20 457.30 L 658.50 456.40 L 660.80 456.00 L 663.30 456.00 L 665.80 456.40 L 668.20 457.30 L 670.30 458.50 L 672.10 460.00 L 673.70 461.80 L 675.70 466.10 L 676.20 468.40 L 676.20 470.90 L 675.80 473.40 L 666.40 510.20 Z"
                        fill="#202328" fill-rule="nonzero" node-id="62" stroke="none" target-height="54.200012"
                        target-width="43.100037" target-x="633.1" target-y="456" />
                    <path
                        d="M 709.10 522.70 L 706.80 473.90 L 707.00 471.20 L 707.60 468.60 L 708.60 466.10 L 709.90 463.90 L 711.50 462.10 L 713.50 460.50 L 715.60 459.40 L 718.10 458.70 L 720.60 458.50 L 723.10 458.90 L 725.40 459.70 L 727.60 460.90 L 729.60 462.50 L 731.40 464.50 L 732.80 466.70 L 733.90 469.30 L 734.70 472.10 L 742.20 515.00 L 709.10 522.70 Z"
                        fill="#202328" fill-rule="nonzero" node-id="64" stroke="none" target-height="64.20001"
                        target-width="35.400024" target-x="706.8" target-y="458.5" />
                    <path
                        d="M 723.70 579.00 L 726.40 590.30 L 728.70 602.30 L 730.70 614.90 L 732.30 628.20 L 734.30 655.10 L 735.20 684.10 L 735.10 703.70 L 733.70 745.00 L 717.70 743.00 L 688.70 623.00 L 672.70 745.00 L 654.70 744.00 L 650.90 696.40 L 649.40 673.90 L 648.10 639.60 L 648.60 615.50 L 650.10 598.50 L 652.70 584.00 L 723.70 579.00 Z"
                        fill="#2f2e41" fill-rule="nonzero" node-id="66" stroke="none" target-height="166"
                        target-width="87.10004" target-x="648.1" target-y="579" />
                    <path
                        d="M 705.30 433.00 L 702.70 434.90 L 701.30 435.30 L 699.10 435.50 L 697.00 435.20 L 695.00 434.20 L 693.30 432.80 L 691.90 430.20 L 691.60 428.60 L 691.60 427.00 L 693.20 419.80 L 693.20 418.20 L 692.40 416.10 L 691.40 415.10 L 690.20 414.50 L 688.90 414.30 L 680.10 415.40 L 677.70 414.80 L 676.70 413.90 L 676.00 412.40 L 675.80 410.80 L 675.90 405.50 L 675.40 403.90 L 674.40 402.70 L 671.60 401.40 L 664.50 400.30 L 662.90 399.70 L 660.60 397.50 L 660.00 396.10 L 659.50 393.70 L 659.70 391.10 L 660.40 388.60 L 661.70 386.30 L 663.70 384.00 L 666.00 382.10 L 668.70 380.50 L 671.60 379.40 L 677.60 378.20 L 682.20 378.30 L 686.80 379.00 L 691.20 380.20 L 700.40 383.80 L 705.00 386.40 L 707.90 388.50 L 710.40 390.80 L 712.60 393.50 L 714.10 395.90 L 716.10 401.10 L 716.80 405.30 L 716.90 409.60 L 716.50 413.80 L 715.50 418.00 L 713.10 423.20 L 709.30 428.40 L 705.30 433.00 Z"
                        fill="#2f2e41" fill-rule="nonzero" node-id="68" stroke="none" target-height="57.299988"
                        target-width="57.400024" target-x="659.5" target-y="378.2" />
                    <path
                        d="M 917.00 771.60 L 178.70 771.60 L 177.60 770.90 L 177.60 769.90 L 178.20 769.30 L 917.00 769.20 L 917.90 769.50 L 918.20 770.40 L 917.80 771.20 L 917.00 771.60 Z"
                        fill="#3f3d56" fill-rule="nonzero" node-id="70" stroke="none" target-height="2.3999634"
                        target-width="740.6" target-x="177.6" target-y="769.2" />
                    <path
                        d="M 546.00 662.40 L 416.00 662.40 L 414.20 662.20 L 412.70 661.50 L 411.40 660.50 L 410.40 659.20 L 409.70 657.70 L 409.50 656.00 L 409.50 365.80 L 409.80 364.00 L 410.40 362.50 L 411.40 361.30 L 412.70 360.30 L 414.20 359.60 L 416.00 359.40 L 546.00 359.40 L 547.80 359.60 L 549.30 360.30 L 550.60 361.30 L 551.60 362.60 L 552.30 364.10 L 552.50 365.80 L 552.50 656.00 L 552.30 657.80 L 551.60 659.30 L 550.60 660.60 L 549.30 661.50 L 547.80 662.20 L 546.00 662.40 Z"
                        fill="#ffffff" fill-rule="nonzero" node-id="72" stroke="none" target-height="303.00003"
                        target-width="143" target-x="409.5" target-y="359.4" />
                    <path d="M 409.50 453.30 L 552.50 453.30 L 552.50 455.30 L 409.50 455.30 Z" fill="#001529"
                        fill-rule="nonzero" node-id="74" stroke="none" target-height="2" target-width="143"
                        target-x="409.5" target-y="453.3" />
                    <path d="M 410.00 567.40 L 553.00 567.40 L 553.00 569.40 L 410.00 569.40 Z" fill="#001529"
                        fill-rule="nonzero" node-id="76" stroke="none" target-height="2" target-width="143"
                        target-x="410" target-y="567.4" />
                    <path d="M 454.50 359.40 L 456.50 359.40 L 456.50 663.40 L 454.50 663.40 Z" fill="#001529"
                        fill-rule="nonzero" node-id="78" stroke="none" target-height="304.00003" target-width="2"
                        target-x="454.5" target-y="359.4" />
                    <path d="M 504.50 359.40 L 506.50 359.40 L 506.50 663.40 L 504.50 663.40 Z" fill="#001529"
                        fill-rule="nonzero" node-id="80" stroke="none" target-height="304.00003" target-width="2"
                        target-x="504.5" target-y="359.4" />
                </svg>
            </div>
            <a-form :model="formData" name="basic" autocomplete="off" class="login-form"
                :initialValues="{ remember: true }" @finish="onFinish">
                <svg t="1745725943152" class="Logo" viewBox="0 0 1024 1024" version="1.1"
                    xmlns="http://www.w3.org/2000/svg" p-id="25491" width="256">
                    <path
                        d="M966.392 448.741L851.745 249.689a27.039 27.039 0 0 0-23.431-13.544h-42.126l-78.386-135.769a27.04 27.04 0 0 0-23.417-13.52H454.539a27.039 27.039 0 0 0-23.4 13.49l-20.99 36.249-156.729 0.025a27.04 27.04 0 0 0-23.413 13.52L115.084 349.191a27.041 27.041 0 0 0 0 27.04l20.925 36.243-78.386 135.769a27.041 27.041 0 0 0 0 27.04l114.923 199.052a27.04 27.04 0 0 0 23.417 13.52h41.85l78.386 135.769a27.04 27.04 0 0 0 23.417 13.52h229.845a27.04 27.04 0 0 0 23.417-13.52l20.925-36.243h156.773a27.04 27.04 0 0 0 23.417-13.52l114.923-199.052a27.041 27.041 0 0 0 0-27.04l-20.925-36.243 78.386-135.769a27.04 27.04 0 0 0 0.015-27.016zM767.96 557.282l-219.424-0.026 82.291-142.529a4.517 4.517 0 0 0 0-4.507L462.345 118.403h219.439l84.889 147.035 0.003 0.004 84.888 147.032-83.604 144.808z m62.68-90.538h104.516l-78.388 135.767L804.51 512l26.13-45.256z m-208.921-54.27L540.73 552.748 517.204 512l27.429-47.509c0.031-0.054 0.042-0.115 0.07-0.17 0.125-0.24 0.228-0.49 0.31-0.753 0.028-0.091 0.062-0.179 0.084-0.271 0.082-0.341 0.139-0.693 0.139-1.059a4.46 4.46 0 0 0-0.139-1.059c-0.022-0.092-0.056-0.181-0.084-0.272a4.565 4.565 0 0 0-0.31-0.753c-0.029-0.055-0.039-0.116-0.07-0.17L429.711 260.932a4.509 4.509 0 0 0-3.904-2.254h-49.653l78.384-135.768 167.181 289.564zM365.744 258.678h-52.255l-52.259-90.514 156.787-0.024-52.273 90.538z m-62.664 0h-49.655a4.508 4.508 0 0 0-3.904 2.254l-82.29 142.528-23.526-40.748 109.719-190.038 49.656 86.004z m-131.946 156.05l84.891-147.036h54.856l0.009 0.001 0.009-0.001h112.307l109.718 190.039H368.347a4.508 4.508 0 0 0-3.904 2.254L195.961 751.802 86.244 561.763l84.89-147.035z m199.814 52.016h161.975l-23.527 40.749h-54.859c-0.037 0-0.073 0.014-0.11 0.015a4.484 4.484 0 0 0-2.044 0.548c-0.08 0.044-0.154 0.093-0.231 0.142a4.454 4.454 0 0 0-0.652 0.499c-0.068 0.063-0.139 0.122-0.203 0.189a4.439 4.439 0 0 0-0.662 0.86L335.712 708.799a4.515 4.515 0 0 0 0 4.506l24.828 43.003H203.769l167.179-289.564z m-5.205 298.578l26.129 45.257-52.258 90.511-78.384-135.768h104.513z m31.334 54.272l24.826 43.001a4.508 4.508 0 0 0 3.904 2.253h164.579l-23.524 40.749h-219.44l49.655-86.003z m31.331 36.241L344.82 711.052l109.719-190.038 82.288 142.528a4.508 4.508 0 0 0 3.904 2.253h336.963l-109.718 190.04H428.408z m114.923-199.053l-80.987-140.276h47.055l27.427 47.51c0.044 0.076 0.103 0.137 0.152 0.21 0.087 0.134 0.177 0.264 0.279 0.389 0.095 0.115 0.197 0.221 0.301 0.326 0.1 0.1 0.2 0.197 0.311 0.288 0.13 0.107 0.266 0.201 0.406 0.292 0.069 0.046 0.128 0.102 0.2 0.144 0.034 0.02 0.073 0.025 0.107 0.044 0.314 0.17 0.64 0.315 0.984 0.406 0.035 0.01 0.071 0.009 0.107 0.018 0.302 0.072 0.61 0.11 0.92 0.119 0.044 0.001 0.088 0.017 0.132 0.017 0.051 0 0.099-0.018 0.15-0.019 0.062 0.002 0.119 0.018 0.18 0.018l229.505 0.027a4.509 4.509 0 0 0 3.904-2.253l24.841-43.027 53.556 92.759 0.001 0.003 24.83 43.005H543.331z m292.512-199.051l24.828-43.003a4.517 4.517 0 0 0 0-4.507l-82.289-142.529h47.325l109.457 190.039h-99.321z"
                        p-id="25492" fill="#2c2c2c"></path>
                </svg>
                <p class="loginTitle">
                    <svg t="1745725756987" class="icon" viewBox="0 0 2491 1024" version="1.1"
                        xmlns="http://www.w3.org/2000/svg" p-id="21727" width="70">
                        <path
                            d="M445.959642 820.178149v-54.883343H204.647164V23.93409H9.506388v796.244059h436.453254z m582.808836 0V326.22806c0-15.100179-5.226985-28.014806-15.680956-38.774448-10.45397-10.744358-23.231045-16.108896-38.331223-16.108896H526.106746v548.833433h502.661732z m-202.11009-63.594985H736.057313V335.810866h72.306627c12.196299 0 18.294448 6.098149 18.294448 18.294447v402.477851z m791.888239 256.122269V326.22806c0-15.100179-5.226985-28.014806-15.680955-38.774448-10.45397-10.744358-23.231045-16.108896-38.331224-16.108896H1108.915582v548.833433h307.520955v127.18997H1109.786746v65.337314h508.759881zM1416.436537 756.583164H1311.025672V337.553194h87.116418c12.196299 0 18.294448 6.098149 18.294447 18.294448v400.735522z m485.238448-554.060418V65.74997c0-15.100179-5.226985-28.014806-15.680955-38.759164-10.45397-10.759642-23.231045-16.124179-38.331224-16.124179h-148.969075v191.656119h202.981254z m-0.871164 617.655403V266.988896h-201.238925v553.189253h201.238925z m291.84 0V348.007164h76.662448c12.196299 0 18.294448 6.098149 18.294447 18.294448v453.876537h202.11009V336.68203c0-15.100179-5.226985-28.03009-15.680955-38.774448-10.45397-10.744358-23.231045-16.108896-38.331224-16.108895h-243.054806v-40.073553H1981.82209v578.453015h210.821731z"
                            fill="#2c2c2c" p-id="21728"></path>
                    </svg>
                </p>
                <a-form-item name="username" label="" :rules="[{ required: true, message: '请输入账号!' }]">
                    <a-input style="border-bottom: 1px solid #202328;border-radius: 0;" :bordered="false" size="large"
                        placeholder="账号" v-model:value="formData.username"><template #prefix>
                            <UserOutlined />
                        </template></a-input>
                </a-form-item>
                <a-form-item name="password" label="" :rules="[{ required: true, message: '请输入密码!' }]">
                    <a-input-password style="border-bottom: 1px solid #202328;border-radius: 0;" :bordered="false"
                        size="large" placeholder="密码" v-model:value="formData.password"><template #prefix>
                            <LockOutlined />
                        </template></a-input-password>
                </a-form-item>
                <a-form-item>
                    <a-button type="primary" size="large" html-type="submit" class="login-form-button"
                        :loading="loading">
                        登录
                    </a-button>
                </a-form-item>
            </a-form>
        </div>

    </div>
</template>
<script setup>
import { ref,onMounted } from 'vue';
import axios from 'axios';
import { useRouter } from 'vue-router';
import { message } from 'ant-design-vue';
import { UserOutlined, LockOutlined } from '@ant-design/icons-vue';
const router = useRouter();
const messageApi = message;
const openMessage = (type, msg) => {
    messageApi[type]({
        content: msg,
        duration: 1,
    });
};
onMounted(() => {
    const userInfo = window.localStorage.getItem('userInfo');
    if(userInfo) {
        const user = JSON.parse(userInfo);
        if (user && user.username) {
            formData.value.username = user.username;
        }
    }
});
const env = process.env.NODE_ENV;
const formData = ref({
    username: env === 'production' ? '' : '18733691089',
    password: env === 'production' ? '' : '123456'
});
const loading = ref(false);
// const rememberPassword = ref(false)
const onFinish = async (values) => {
    loading.value = true;
    await Login(formData.value);
};
// 登录
const Login = async (data) => {
    const res = await axios.post('/api/login', data);
    loading.value = false;
    if (res.status === 200 && res.data.success) {
        const token = res.data.token || 'Token';
        delete data.password; // 删除密码
        window.localStorage.setItem('userInfo', JSON.stringify(data));
        window.localStorage.setItem('token', JSON.stringify(token));
        openMessage('success', '登录成功');
        // 跳转到首页
        router.replace('/');
        return res.data.success;
    } else {
        openMessage('error', res.data.message);
        return Promise.reject(res.data.message);
    }
};
</script>

<style scoped lang="scss">
.loginPage {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #A361EB;

    .view {
        background-color: rgba(0, 0, 0, 0.04);
        width: 1000px;
        height: 600px;
        border-radius: 20px;
        padding: 10px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .loginTitle {
            font-size: 20px;
            text-align: left;
            margin-bottom: 8px;
            font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Helvetica Neue', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            width: 100%;
        }
    }

    .exhibition {
        flex: 1;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        svg {
            width: 100%;
            height: 100%;
        }
    }

    .login-form {
        width: 400px;
        height: 100%;
        background: #fff;
        border-radius: 20px;
        padding: 20px;
        float: right;

    }

    .Logo {
        width: 100px;
        margin: 34px auto 34px;
        display: block;
    }

    .login-form-forgot {
        float: right;
    }

    .ant-col-rtl .login-form-forgot {
        float: left;
    }

    .login-form-button {
        width: 100%;
        margin-top: 40px
    }
}
@keyframes draw {
      to {
        stroke-dashoffset: 0;
      }
    }

    /* 添加路径hover效果 */
    #border-path:hover {
      stroke: #40a9ff;
      filter: drop-shadow(0 0 2px #1890ff);
    }
</style>